package com.banksoft.cps.service;

import com.banksoft.cps.bean.SupplierCompany;
import com.banksoft.cps.bean.query.SupplierCompanyQuery;
import com.banksoft.cps.bean.warpper.SupplierCompanyWarpper;

import java.util.List;

/**
 * Created by rongzhao.zhu on 2018/1/12.
 */
public interface SupplierCompanyService {
    List<SupplierCompany> list(SupplierCompanyQuery query);

    long count(SupplierCompanyQuery query);

    void save(SupplierCompany bean);

    SupplierCompany findById(String id);

    SupplierCompanyWarpper findWarpperById(String id);
}
